<extend name="Base/s1"/>
<block name="body">

    <div class="main">
        <div class="main_center">
            <div class="center_left">
                <!-- 左侧菜单 -->
                <include file="Public/leftmenu"/>
                <!-- 左侧菜单 -->
            </div>
            <div class="center_right" style="display: none;">
                <div class="center_right_loading"></div>
            </div>
            <div id="memberCenter" style="display: block;"><!-- 个人中心 初始状态 start -->
                <div class="center_right" id="MemberCenterCtrl" style="display: block;">

                    <div class="red" style="clear:both; overflow:hidden; padding:10px;">账户余额</div>

                    <empty name='balance'>
                        <div class="personal_info_none_goods">
                            <p>没有登录，<a href='{:U("user/login")}' class="red">请先登录</a></p>
                            <div class="cb"></div>
                        </div>
                        <else/>

                        <div>
                            <label>余额</label>
                            <div>{$balance['account']}元</div>
                        </div>
                        <div>
                            <label>待提现金额</label>
                            <div>{$balance['withdraw']}元</div>
                        </div>


                        <div>
                            <div class="red" style="clear:both; overflow:hidden; padding:10px;">提现</div>
                            <form method="post" class="person-info" name="form" action="{:U('center/withDraw')}">
                                <div class="form-item">
                                    <input type="text" class="text input-large" name="withdraw"/>
                                </div>
                                <div class="">
                                    <input type="submit" class="btn btn-primary" value="提交"/>
                                </div>
                            </form>
                        </div>

                        <div>
                            <div class="red" style="clear:both; overflow:hidden; padding:10px;">充值</div>
                            <form method="post" class="person-info" name="form" action="{:U('center/topUp')}">
                                <div class="form-item">
                                    <input type="text" class="text input-large" name="topup"/>
                                </div>
                                <div class="">
                                    <input type="submit" class="btn btn-primary" value="提交"/>
                                </div>
                            </form>
                        </div>
                    </empty>


                    <!-- 个人中心 初始状态 end --></div>
            </div>
            <script type="text/javascript">_init_area();</script>


</block>
